<?php
header('Content-type: application/json');

require_once("../inc/config.inc.php");

require_once BASE_URI . './inc/jsonwrapper.php';

/*function __autoload($class_name) 
{
    require_once BASE_URI . "/lib/".$class_name.".class.php";
}*/
require_once BASE_URI . "/lib/Admin.class.php";
	$admin = new Admin();
	print "{\"items\":" . json_encode($admin->getAllStudentDetails() ) . "}";
?>
